home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / g_man / cat3 / OpenGL-GLC / glcfontface.z / glcfontface
Text File  |  1998-10-20  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee((((3333GGGG))))           OOOOppppeeeennnnGGGGLLLL CCCChhhhaaaarrrraaaacccctttteeeerrrr RRRReeeennnnddddeeeerrrreeeerrrr            ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee - set the face of a font or of all current fonts
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      GLboolean ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee( GLint _i_n_F_o_n_t,
  14.                             const GLCchar *_i_n_F_a_c_e )
  15.  
  16.  
  17. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  18.      _i_n_F_o_n_t  Specifies the ID of the font to be changed.
  19.  
  20.      _i_n_F_a_c_e  Specifies the face for _i_n_F_o_n_t.
  21.  
  22.  
  23. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.      ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee attempts to set the current face of the font identified by
  25.      _i_n_F_o_n_t to the face identified by the string _i_n_F_a_c_e. Examples for font
  26.      faces are strings like "Normal", "Bold", or "Bold Italic". In contrast to
  27.      some systems that have a different font for each face, GLC allows you to
  28.      have the face be an attribute of the font.
  29.  
  30.      If _i_n_F_a_c_e is not an element of the font's string list attribute
  31.      GGGGLLLLCCCC____FFFFAAAACCCCEEEE____LLLLIIIISSSSTTTT, the command leaves the font's current face unchanged and
  32.      returns GGGGLLLL____FFFFAAAALLLLSSSSEEEE. If the command succeeds, it returns GGGGLLLL____TTTTRRRRUUUUEEEE.
  33.  
  34.      If _i_n_F_o_n_t is zero, ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee iterates through the list
  35.      GGGGLLLLCCCC____CCCCUUUURRRRRRRREEEENNNNTTTT____FFFFOOOONNNNTTTT____LLLLIIIISSSSTTTT and attempts to set the current face to _i_n_F_a_c_e for
  36.      each font. In this case, ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee returns GGGGLLLL____TTTTRRRRUUUUEEEE if and only if
  37.      GGGGLLLLCCCC____CCCCUUUURRRRRRRREEEENNNNTTTT____FFFFOOOONNNNTTTT____LLLLIIIISSSSTTTT contains one or more elements and the command
  38.      successfully sets the current face of each font in the list.
  39.  
  40. EEEERRRRRRRROOOORRRRSSSS
  41.      GGGGLLLLCCCC____SSSSTTTTAAAATTTTEEEE____EEEERRRRRRRROOOORRRR is generated if the issuing thread has no current GLC
  42.      context.
  43.  
  44.      GGGGLLLLCCCC____PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR____EEEERRRRRRRROOOORRRR is generated if _i_n_F_o_n_t is not the ID of a font.
  45.  
  46. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
  47.      ggggllllccccGGGGeeeettttFFFFoooonnnnttttFFFFaaaacccceeee
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.